package com.oweight.sagacious.auth.server.infrastructure.configuration;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Key配置信息
 *
 * @author 周广明
 * @version v1 2019/10/21 16:11
 */
@Configuration
@Data
public class KeyConfiguration {

    @Value("${jwt.rsa-secret}")
    private String userSecret;

    @Value("${client.rsa-secret}")
    private String serviceSecret;

    private byte[] userPubKey;
    private byte[] userPriKey;
    private byte[] servicePriKey;
    private byte[] servicePubKey;

}
